home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-03-13 | 2.7 KB | 86 lines | [TEXT/KAHL] |
- SCANF UPDATE INSTRUCTIONS
- =========================
- Copyright © 1990 Symantec Corporation. All rights reserved.
- 3/15/90
-
- INTRODUCTION
- ============
- Since the release of THINK C 4.0, a few bugs have been found in
- scanf() and related functions in the ANSI Library. This
- update fixes these bugs by modifying the appropriate source files.
-
- This update uses a program called AutoWeave to create a new scanf.c
- source file from your existing file. It applies a "differences" file
- to the original source file that came with your THINK C package to create
- a new updated source file.
-
-
- DO I NEED THE SCANF UPDATE?
- ======================
- You need this update if you use the ANSI library and you have NOT
- fixed your scanf.c file with the update that Symantec provided earlier.
-
- Symantec released an update to fix problems with the scanf()
- and related functions in October 1989. If you updated your
- scanf.c file then, you DO NOT need this update.
-
-
- HOW TO USE IT
- =============
- •• Please read through these instructions before you begin.
-
- 0. Be sure that you have your original THINK C 2 disk from your
- THINK C 4.0 package.
-
- 1. Double-click on the file named "scanf Update.Script"
- to launch the AutoWeave program.
-
- 2. The Weaver will ask you to locate the original
- "C Libraries" folder. Insert your original THINK C 2 disk,
- select the "C Libraries" folder and click OK.
-
- 3. The AutoWeave program will ask you to locate your copy of the
- "C Libraries" folder. This is where the modified scanf.c file
- will be written (overwriting the old version). If you followed
- the installation instructions in your THINK C User's Manual, this
- folder should be in your THINK C Folder. Select the "C Libraries"
- folder and click OK.
-
- 4. The Weaver will ask you to locate the "scanf Update"
- folder that comes with this update. Select this folder and click OK.
-
- 5. The Weaver will now modify scanf.c.
-
- Now you need to update the THINK C Libraries that use the scanf.c file.
-
- 6. Double-click on the "ANSI" project in the "C Libraries" folder.
- THINK C will open the project.
-
- 7. Choose Make… from the Source menu
-
- 8. Click on the Quick Scan check box to uncheck it.
- Click on the Use Disk button.
-
- 9. Click on the Make button.
- THINK C will recompile the scanf.c file.
-
- 10. Choose Close & Compact from the Project menu.
-
- 11. Open the "ANSI-A4" project and repeat steps 7-10. Then
- repeat them for the "ANSI-small" and "ANSI-881" projects.
-
-
- SUMMARY OF THE CHANGES
- ======================
-
- 1. scanf() and related functions like atof()
- returned incorrect values for floating point
- numbers less than 0.01.
- 2. The data types float and short double were
- stored incorrectly when you used the ANSI-881
- library.
- 3. String suppression was not always honored.
-
-
-
-